package com.ruoyi.md.service;

import com.ruoyi.md.domain.MdUnitMeasure;

import java.util.List;

public interface IMdUnitMeasureService {
    /**
     * 查询单位
     */
    public MdUnitMeasure selectMdUnitMeasureByMeasureId(Long measureId);

    /**
     * 查询单位列表
     */
    public List<MdUnitMeasure> selectMdUnitMeasureList(MdUnitMeasure mdUnitMeasure);

    /**
     * 新增单位
     */
    public int insertMdUnitMeasure(MdUnitMeasure mdUnitMeasure);

    /**
     * 修改单位
     */
    public int updateMdUnitMeasure(MdUnitMeasure mdUnitMeasure);

    /**
     * 删除单位
     */
    public int deleteMdUnitMeasureByMeasureId(Long measureId);

    /**
     * 批量删除单位
     */
    public int deleteMdUnitMeasureByMeasureIds(Long[] measureIds);
    /**
     * 查询主单位
     */
    public List<MdUnitMeasure> selectPrimaryMeasures();
}
